package com.xxx.td;

import java.util.concurrent.Callable;

/**
 * @version v1.0
 * @Description:
 * @Author zhanzhongxin
 * @Date 2021/7/30 16:11
 * @Copyright 博为峰
 */
public class CallableDemo implements Callable<String> {
    @Override
    public String call() throws Exception {
        System.out.println(Thread.currentThread().getName() + ",执行完成");
        return "Callable执行完成";
    }
}
